﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ywxt.Common;

namespace DB_NH.DB_Model.ywxt.Project
{
    /// <summary>
    /// 项目计划信息
    /// </summary>
    public class ProjectPlan
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        public virtual string Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public virtual int IsValid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public virtual DateTime CreateDate { get; set; }

        /// <summary>
        /// 项目计划内容
        /// </summary>
        public virtual string p_content { get; set; }

        /// <summary>
        /// 项目公告时间
        /// </summary>
        public virtual DateTime p_xmggsj { get; set; }

        /// <summary>
        /// 项目文件发售开始时间
        /// </summary>
        public virtual DateTime p_wjfssj1 { get; set; }

        /// <summary>
        /// 项目文件发售结束时间
        /// </summary>
        public virtual DateTime p_wjfssj2 { get; set; }

        /// <summary>
        /// 项目结果公示时间
        /// </summary>
        public virtual DateTime p_jggssj { get; set; }

        /// <summary>
        /// 项目结果公告时间
        /// </summary>
        public virtual DateTime p_jgggsj { get; set; }

        /// <summary>
        /// 项目开标时间
        /// </summary>
        public virtual DateTime p_xmkbsj { get; set; }

        /// <summary>
        /// 项目保证金结束时间
        /// </summary>
        public virtual DateTime p_bzjsj { get; set; }

        /// <summary>
        /// 项目中标时间
        /// </summary>
        public virtual DateTime p_xmzbsj { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string p_remark { get; set; }

        /// <summary>
        /// 项目的时间计划安排
        /// </summary>
        public virtual IList<Project.RefProjectAndPlan> RefProjectAndPlans { get; set; }

        public ProjectPlan()
        {
            this.IsValid = 1;
            this.CreateDate = DateTime.Now;
            this.Id = Common.NewID();

            this.RefProjectAndPlans = new List<Project.RefProjectAndPlan>();
        }
    }
}
